console.log("====================")
$("#editlanzhouType").change(function (){
    var reslist=$("#editlanzhouType").select2("data");
    $("#editlanzhouTypes").val(payTypes(reslist));
});


$("#lanzhouType").change(function(){
    var reslist=$("#lanzhouType").select2("data");
    $("#lanzhouTypes").val(payTypes(reslist));
});

function editlanzhou(i) {


    $("#editlanzhouclientpartner").attr("name", "payCompanyInfos[" + i + "].lanzhouVo.partner");


    $("#editlanzhouTypes").attr("name", "payCompanyInfos[" + i + "].payType");

    $("#editlanzhouPayType").attr("data-placeholder", "请从列表选择一项");
    $("#editlanzhouPayType").attr("required", "");


}

function lanzhou(i) {

    $("#lanzhouclientpartner").attr("name", "payCompanyInfos[" + i + "].lanzhouVo.partner");



    $("#lanzhouTypes").attr("name", "payCompanyInfos[" + i + "].payType");


    $("#lanzhouPayType").attr("data-placeholder", "请从列表选择一项");
    $("#lanzhouPayType").attr("required", "");


}